package tests.comits.business.tiers.requests.manager.ws;
import comits.business.tiers.dao.*;
import comits.business.tiers.metiers.Commande;
import comits.business.tiers.metiers.Encours;
import comits.business.tiers.rp.tasks.ws.ControleurCalculAppro;

public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		/*ApplicationContext context = new FileSystemXmlApplicationContext("applicationContext.xml");
		BoutiqueDAO dao = (BoutiqueDAO) context.getBean("BtqDAO");
		List<Boutique> lBtq = dao.recupererListeBoutique();
		System.out.println(lBtq.toString());*/
		ControleurCalculAppro cA = new ControleurCalculAppro();
		cA.EffectuerCalculBoutique();
		System.out.println("");
		CommandeDAO cmDao = new CommandeDAOImpl();
		for(Commande e : cmDao.getListCommande()){
			System.out.println(e.toString());
		}
		System.out.println("");
		
		EncoursDAO enDao = new EncoursDAOImpl();	
		for(Encours en : enDao.getListEncours()){
			System.out.println(en.toString());
		}
	}

}
